xi2: ignore extraneous events for smooth scroll
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 20 Apr 2012 21:34:08 +0000 (17:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Apr 2012 17:06:39 +0000 (13:06 -0400)
commit8bb3a2001f63739e6ee47ee683ceb581d0eac97f
tree65af58912b57fc5f791cfc189d4cacd8e3b51b7d
parent37149668c0ed820538db43940156ecb10dc65f78
xi2: ignore extraneous events for smooth scroll

Since the event will be ignored anyway after it's translated (slave
devices are disabled), don't let it run in the smooth scroll code path,
as it will burn our caches for the actual event we're interested in.

https://bugzilla.gnome.org/show_bug.cgi?id=673644
gdk/x11/gdkdevicemanager-xi2.c